package 进阶.缓冲流.字符;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;

public class demo02_reader {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new FileReader("d:/a.txt"));

        String len = null;
        while ((len = br.readLine()) != null){
            System.out.println(len );
        }

        br.close();

    }

}
